#include <57header.h>

int main(int argc,char*argv[])
{
    int pipe_fd = open("1.pipe", O_RDONLY);
    printf("read pipe open \n");


    char buf[60] = {0};
    printf("read before \n");
    read(pipe_fd, buf, sizeof(buf));
    printf("read  buf: %s \n", buf);

    close(pipe_fd);
    return 0;
}

